From 951e6a1eb9e987e1e4cfeea8c8ae64643f833065 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 1 Sep 2004 16:42:09 +0000 Subject: [PATCH] Protect the unistd.h include by HAVE_UNISTD_H. 2004-09-01 Matthias Clasen * gtk/gtkfilesystemunix.c: * gtk/gtkfilechooserbutton.c: Protect the unistd.h include by HAVE_UNISTD_H. --- ChangeLog | 6 ++++++ ChangeLog.pre-2-10 | 6 ++++++ ChangeLog.pre-2-6 | 6 ++++++ ChangeLog.pre-2-8 | 6 ++++++ gtk/gtkfilechooserbutton.c | 2 ++ gtk/gtkfilesystemunix.c | 2 ++ 6 files changed, 28 insertions(+) diff --git a/ChangeLog b/ChangeLog index 870a8a8dc6..78dc760dbf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-09-01 Matthias Clasen + + * gtk/gtkfilesystemunix.c: + * gtk/gtkfilechooserbutton.c: Protect the unistd.h include + by HAVE_UNISTD_H. + Wed Sep 1 02:38:48 2004 Matthias Clasen * gtk/gtkaccellabel.c (gtk_accel_label_expose_event): Make diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 870a8a8dc6..78dc760dbf 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +2004-09-01 Matthias Clasen + + * gtk/gtkfilesystemunix.c: + * gtk/gtkfilechooserbutton.c: Protect the unistd.h include + by HAVE_UNISTD_H. + Wed Sep 1 02:38:48 2004 Matthias Clasen * gtk/gtkaccellabel.c (gtk_accel_label_expose_event): Make diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 870a8a8dc6..78dc760dbf 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,9 @@ +2004-09-01 Matthias Clasen + + * gtk/gtkfilesystemunix.c: + * gtk/gtkfilechooserbutton.c: Protect the unistd.h include + by HAVE_UNISTD_H. + Wed Sep 1 02:38:48 2004 Matthias Clasen * gtk/gtkaccellabel.c (gtk_accel_label_expose_event): Make diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 870a8a8dc6..78dc760dbf 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +2004-09-01 Matthias Clasen + + * gtk/gtkfilesystemunix.c: + * gtk/gtkfilechooserbutton.c: Protect the unistd.h include + by HAVE_UNISTD_H. + Wed Sep 1 02:38:48 2004 Matthias Clasen * gtk/gtkaccellabel.c (gtk_accel_label_expose_event): Make diff --git a/gtk/gtkfilechooserbutton.c b/gtk/gtkfilechooserbutton.c index a819a8d940..27bb1f47b4 100644 --- a/gtk/gtkfilechooserbutton.c +++ b/gtk/gtkfilechooserbutton.c @@ -24,7 +24,9 @@ #include #include +#ifdef HAVE_UNISTD_H #include +#endif #include diff --git a/gtk/gtkfilesystemunix.c b/gtk/gtkfilesystemunix.c index 4bb5c212c5..eb4b4e7492 100644 --- a/gtk/gtkfilesystemunix.c +++ b/gtk/gtkfilesystemunix.c @@ -35,7 +35,9 @@ #include #include #include +#ifdef HAVE_UNISTD_H #include +#endif #include #include -- 2.30.2